﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Tool : MonoBehaviour
{
    private float currentTime;
    private float jiangeTime;
    private float deltaTime;

    
    public void Timer(float currentTimeParameter, float jiangeTimeParameter, float deltaTimeParameter)
    {
        currentTime = currentTimeParameter;
        jiangeTime = jiangeTimeParameter;
        deltaTime = deltaTimeParameter;
    }

    private void Update()
    {
        currentTime += deltaTime;
        if (currentTime > jiangeTime)
        {
            
        }
        
    }
}